script_dir=$(cd $(dirname $0);pwd)

if [ ! -d ${script_dir}/bin ]; then
    mkdir -p ${script_dir}/bin
fi

g++ ${script_dir}/softbus_client_main.cpp ${script_dir}/example_walk.cpp  -I/usr/include/dsoftbus/ -Iinclude  -L /usr/lib64   -lsoftbus_client.z -lboundscheck  -L ../lib/cpp/arm64  -l:libunitree_legged_sdk.a  -o ${script_dir}/bin/softbus_client_main